
import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      redirect: '/login'
    },
    {
      path: '/login',
      component: () => import('../views/UserLogin.vue')
    },
    {
      path: '/add',
      component: () => import('../views/UserAdd.vue')
    },
    {
      path: '/zou',
      component: () => import('../views/ye.vue')
    }
  ]
})
export default router
